import Mock from 'mockjs';

const userList = [
    {name:'张山',age:'19',address:'绵阳'},
    {name:'王五',age:'17',address:'成都'},
    {name:'赵三',age:'50',address:'德阳'},
    {name:'成成',age:'6',address:'重庆'},
    {name:'里尔',age:'19',address:'北京'},
    {name:'托尔',age:'17',address:'西藏'},
    {name:'爱丽丝',age:'19',address:'新疆'},
    {name:'杰克',age:'17',address:'杭州'},
    {name:'贾斯丁',age:'19',address:'上海'},
    {name:'戴维斯',age:'17',address:'广州'},
]
Mock.mock('','user/add',function (options) {
    const id = parseInt(options.body.split)
})
